package com.ruoyi.project.channel.vwIncomeDayStat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * VIEW表 vw_income_day_stat
 * 
 * @author CAIN
 * @date 2021-02-06
 */
public class VwIncomeDayStat implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	/** 用户ID */
	private Long userId;
	/** 用户昵称 */
	private String userName;
	/** 收益类型 1.自己抢单 2.下级抢单 3.自己任务 4.下级任务 */
	private String type;
	/**  */
	private Long total;
	/**  */
	private BigDecimal income;
	private String updateTime;

	private BigDecimal firstIncome;
	/**  */
	private BigDecimal secondIncome;
	/**  */
	private BigDecimal thirdIncome;
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}

	public String getUserName() 
	{
		return userName;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setTotal(Long total) 
	{
		this.total = total;
	}

	public Long getTotal() 
	{
		return total;
	}
	public void setIncome(BigDecimal income) 
	{
		this.income = income;
	}

	public BigDecimal getIncome() 
	{
		return income;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("type", getType())
            .append("total", getTotal())
            .append("income", getIncome())
            .toString();
    }

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public BigDecimal getThirdIncome() {
		return thirdIncome;
	}

	public void setThirdIncome(BigDecimal thirdIncome) {
		this.thirdIncome = thirdIncome;
	}

	public BigDecimal getSecondIncome() {
		return secondIncome;
	}

	public void setSecondIncome(BigDecimal secondIncome) {
		this.secondIncome = secondIncome;
	}

	public BigDecimal getFirstIncome() {
		return firstIncome;
	}

	public void setFirstIncome(BigDecimal firstIncome) {
		this.firstIncome = firstIncome;
	}
}
